#include <iostream>
using namespace std;
int main(void)
{
	int year;
	bool IsLeapYear;

	cout << "Enter year\n";
	cin >> year;
	IsLeapYear = ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0));
	if (IsLeapYear)
		cout << year << "is a leap year" << endl;
	else
		cout << year << "is not a leap year " << endl;
}